/*
 * Exploder
 * 
 * Tero Pyylampi (218437), Jussi Tuurinkoski (211594)
 *
 * An abstract interface object as a base class
 */

#ifndef GAMEINTERFACEOBJECT_H
#define GAMEINTERFACEOBJECT_H

#include "cocos2d.h"

class GameInterfaceObject : public cocos2d::CCObject {
public:
	// default constructor
	GameInterfaceObject( cocos2d::CCLayer *layer );
	// default destructor
	virtual ~GameInterfaceObject();

	// update function of the object
	virtual void update( cocos2d::ccTime dt ) = 0;

protected:
	// interface layer
	cocos2d::CCLayer *mLayer;
};

#endif